<div class="view" style="min-height:30px;border-bottom:1px dashed grey;padding:10px 5px;">
	<span style="width:2%;" class="left"><input type="checkbox" name="news_item" id="news_item_<?php echo $data->arc_id;?>" value="<?php echo $data->arc_id;?>" /></span>
	<span style="width:38%; padding-left:10px;" class="left" onmouseover="hoverItem($(this));" onmouseout="mouseOut($(this));">
		<span class="ui-icon <?php if($data->arc_state == Article::STATUS_LOCK):?>ui-icon-locked<?php elseif ($data->arc_state == Article::STATUS_DRIFT): ?>ui-icon-note<?php elseif ($data->arc_state == Article::STATUS_PUBLISHED):?>ui-icon-unlocked<?php elseif ($data->arc_state == Article::STATUS_TRASH):?>ui-icon-trash<?php endif;?> left"></span>
		<a href="javascript:void();" onclick="actionView($(this));" id="<?php echo $this->createUrl('/blog/view',array('id'=>$data->arc_id)); ?>" class="left" title="<?php echo CHtml::encode($data->arc_title);?>"><?php echo CHtml::encode(UtilTools::strSlice($data->arc_title,0,50)); ?></a>(<?php echo CHtml::encode($data->arc_hits); ?>)
		
		<span class="new-item-action hide">	
            <span class="ui-icon ui-icon-pencil left" title="edit" id="<?php echo $this->createUrl('update',array('id'=>$data->arc_id));?>"  onclick="actionUpdate($(this));"></span>
            <span class="ui-icon ui-icon-zoomin left" title="view" id="<?php echo $this->createUrl('/blog/view',array('id'=>$data->arc_id));?>"  onclick="actionView($(this));"></span>
            <span class="ui-icon ui-icon-trash left" title="delete" id="<?php echo $this->createUrl('ajaxTrash',array('id'=>$data->arc_id));?>"  onclick="actionTrash($(this));"></span>
        </span>		
	</span>
	<span style="width:20%;" class="left">
		<?php echo Article::model()->getCategoryLink($data->arc_cid); ?>
	</span>
	<span style="width:10%;" class="left">
		<?php echo CHtml::encode($data->author->user_name); ?>
	</span>
	<span style="width:10%;" class="left">
		<?php echo CHtml::encode($data->arc_iscomment); ?>
	</span>
	<span style="width:10%;" class="left">
		<?php echo CHtml::encode(UtilTools::timeop($data->arc_created)); ?>
	</span>

	<?php /*
	<b><?php echo CHtml::encode($data->getAttributeLabel('arc_update')); ?>:</b>
	<?php echo CHtml::encode($data->arc_update); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('arc_tags')); ?>:</b>
	<?php echo CHtml::encode($data->arc_tags); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('arc_state')); ?>:</b>
	<?php echo CHtml::encode($data->arc_state); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('arc_content')); ?>:</b>
	<?php echo CHtml::encode($data->arc_content); ?>
	<br />

	*/ ?>

</div>